<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title><?php echo __FUNCTION__?></title>
    <meta name="description" content="">
    <meta name="author" content="">

    <link rel="stylesheet" type="text/css" href="<?php echo bootstrap_url()?>css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo assets_url()?>css/custom.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo assets_url()?>js/plugin/menu/pro_drop_1.css">
    <link rel="stylesheet" type="text/css" href="<?php echo assets_url()?>js/plugin/tables/datatable_layout2.css">
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo assets_url()?>js/plugin/ui/jquery-ui-1.10.4.custom.css">
    <script src="<?php echo assets_url()?>js/jquery-1.8.2.js" type="text/javascript"></script>

    <script type="text/javascript">
      var site_url = <?php echo "'".site_url()."'"?></script>

    <?php echo $_styles?>
</head>

<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container-fluid">

                <a class="brand" href="#">Projeto Beta</a>
                
                <div id="load_status" class="display-none"></div>

                <div class="nav-collapse collapse">
                    <p class="navbar-text pull-right">
                        Logged in as
                        <a href="#" class="navbar-link">Username</a>
                    </p>
                </div>
                <!--/.nav-collapse --> </div>
        </div>
    </div>

    <div class="container navbar-fixed-top" id="menu_principal">

        <ul id="nav">
            <li class="top">
                <a href="#nogo1" class="top_link">
                    <span>Inicio</span>
                </a>
            </li>
            <li class="top">
                <a href="#nogo2" id="" class="top_link">
                    <span class="down">Administração</span>
                </a>
                <ul class="sub">
                    <li>
                        <a class="fly">Contrato</a>
                        <ul>
                            <li>
                                <a href="<?php echo site_url() ?>contrato/cadastro/novo">Cadastrar</a>
                            </li>
                            <li>
                                <a href="<?php echo site_url() ?>painel/visualizar">Visualizar</a>
                            </li>
                            <li>
                                <a href="<?php echo site_url() ?>importacao_contrato/listar">Importar</a>
                            </li>
                        </ul>
                    </li>
                    <li class="mid">
                        <a class="fly">Usuário</a>
                        <ul>
                            <li>
                                <a href="<?php echo site_url() ?>usuario/cadastro/novo">Cadastrar</a>
                            </li>
                            <li>
                                <a href="<?php echo site_url() ?>usuario/listar">Listar</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="<?php echo site_url() ?>credor/listar">Credor</a>
                    </li>
                    <li class="mid">
                        <a class="fly">Lista de Contratos</a>
                        <ul>
                            <li>
                                <a href="<?php echo site_url() ?>lista/visualizar">Cadastrar</a>    
                            </li>
                            <li>
                                <a href="<?php echo site_url() ?>lista/cadastrar">Visualizar</a>    
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="#nogo21">Filters</a>
                    </li>
                </ul>
            </li>
            <li class="top">
                <a href="#nogo22" id="services" class="top_link">
                    <span class="down">Services</span>
                </a>
                <ul class="sub">
                    <li>
                        <a href="#nogo23">Printing</a>
                    </li>
                    <li>
                        <a href="#nogo24">Photo Framing</a>
                    </li>
                    <li>
                        <a href="#nogo25">Retouching</a>
                    </li>
                    <li>
                        <a href="#nogo26">Archiving</a>
                    </li>
                </ul>
            </li>
            <li class="top">
                <a href="#nogo27" id="contacts" class="top_link">
                    <span class="down">Contacts</span>
                </a>
                <ul class="sub">
                    <li>
                        <a href="#nogo28">Support</a>
                    </li>
                    <li>
                        <a href="#nogo29" class="fly">Sales</a>
                        <ul>
                            <li>
                                <a href="#nogo30">USA</a>
                            </li>
                            <li>
                                <a href="#nogo31">Canadian</a>
                            </li>
                            <li>
                                <a href="#nogo32">South American</a>
                            </li>
                            <li>
                                <a href="#nogo33" class="fly">European</a>
                                <ul>
                                    <li>
                                        <a href="#nogo34" class="fly">British</a>
                                        <ul>
                                            <li>
                                                <a href="#nogo35">London</a>
                                            </li>
                                            <li>
                                                <a href="#nogo36">Liverpool</a>
                                            </li>
                                            <li>
                                                <a href="#nogo37">Glasgow</a>
                                            </li>
                                            <li>
                                                <a href="#nogo38" class="fly">Bristol</a>
                                                <ul>
                                                    <li>
                                                        <a href="#nogo39">Redland</a>
                                                    </li>
                                                    <li>
                                                        <a href="#nogo40">Hanham</a>
                                                    </li>
                                                    <li>
                                                        <a href="#nogo41">Eastville</a>
                                                    </li>
                                                </ul>
                                            </li>
                                            <li>
                                                <a href="#nogo42">Cardiff</a>
                                            </li>
                                            <li>
                                                <a href="#nogo43">Belfast</a>
                                            </li>
                                        </ul>
                                    </li>
                                    <li>
                                        <a href="#nogo44">French</a>
                                    </li>
                                    <li>
                                        <a href="#nogo45">German</a>
                                    </li>
                                    <li>
                                        <a href="#nogo46">Spanish</a>
                                    </li>
                                </ul>
                            </li>
                            <li>
                                <a href="#nogo47">Australian</a>
                            </li>
                            <li>
                                <a href="#nogo48">Asian</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="#nogo49">Buying</a>
                    </li>
                    <li>
                        <a href="#nogo50">Photographers</a>
                    </li>
                    <li>
                        <a href="#nogo51">Stockist</a>
                    </li>
                    <li>
                        <a href="#nogo52">General</a>
                    </li>
                </ul>
            </li>
            <li class="top">
                <a href="#nogo53" id="shop" class="top_link">
                    <span class="down">Shop</span>
                </a>
                <ul class="sub">
                    <li>
                        <a href="#nogo54">Online</a>
                    </li>
                    <li>
                        <a href="#nogo55">Catalogue</a>
                    </li>
                    <li>
                        <a href="#nogo56">Mail Order</a>
                    </li>
                </ul>
            </li>
            <li class="top">
                <a href="#nogo57" id="privacy" class="top_link">
                    <span>Privacy Policy</span>
                </a>
            </li>
        </ul>

    </div>

    <div class="container-fluid dafault_top">

        <div class="row-fluid">
            <div class="span12">
                <div class="box">

                    <div class="container" id="exibe_alerta">
                        <!-- Exibe alertas aqui --> </div>

                    <?php echo $content ?></div>
            </div>
        </div>

    </div>

    <div id="box_notificacao">
        <div id="box_notificacao_conteudo"></div>
    </div>
    
    <!-- Dialog -->
    <div class="display-none">
        <div id="dialog-selecione-registro" title="Atenção">
            <div class="alert">
                <i class="fugue-exclamation"></i><strong>Para realizar esta ação selecione ao menos um registro!</strong>
            </div>
        </div>

        <div id="show_dialog"></div>

    </div>
    <!-- Fim Dialog -->

    <script src="<?php echo assets_url()?>js/plugin/tables/jquery.dataTables.js" type="text/javascript"></script>
    <script src="<?php echo assets_url()?>js/function.js" type="text/javascript"></script>
    <script src="<?php echo assets_url()?>js/plugin/menu/stuHover.js" type="text/javascript"></script>
    <script src="<?php echo assets_url()?>bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <script src="<?php echo assets_url()?>js/plugin/ui/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
    <?php echo $_scripts?></body>
</html>